package univ.bme.accounting.dao;

import java.util.List;

import javax.ejb.Stateless;

import univ.bme.accounting.domain.Transaction;

@Stateless
public interface TransactionDAO extends GenericDAO<Transaction> {

    public abstract void delete(Transaction transaction);
    
    public abstract List<Transaction> findTransactionsForUser(int userId);
    public abstract List<Transaction> findTransactionsForUserAndYear(int userId, int year);

	public abstract List<Integer> findAvailableYears(int userId);
    
}